.main {
    padding: 20px;
    overflow: auto;
    height: calc(100vh - 40px);
}

/**
所有页面查询面板
*/
.top-panel {
    display: flex;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(54, 58, 80, 0.32);
    padding: 0 16px;
    height: 50px;
    line-height: 50px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.search-pane {
    display: flex;
}

.search-pane .search-item-box {
    margin-right: 10px;
}

/*柱状图*/
.echarts-box div:first-child {
    width: 100% !important;
}

canvas {
    width: 100% !important;
}

/*所有box顶部标题栏背景色*/
.ems-box-header {
    background: #fff; //#1890ff;
    border-bottom: 1px solid #dedede;
    //color: #fff;
}

/*所有页面table表格盒子*/
.table-box {
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(54, 58, 80, .32);
    padding: 0 16px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    height: calc(100vh - 140px);    // 去掉顶部、按钮操作面板、main的padding高度
    position: relative;
}
/*表格头部title高度，只适用于表格的size为middle*/
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
    margin-bottom: 0;
    min-width: 8px;
    overflow: hidden !important;
    height: 46px;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #e8e8e8;
}
.ant-pagination.mini .ant-pagination-options-quick-jumper {
    line-height: 50px;
}
.page-box {
    border-top: 1px solid #e8e8e8;
    position: absolute;
    bottom: 0;
    width: calc(100% - 32px);
    .ant-pagination{
        height: 50px !important;
        line-height: 50px !important;
    }
}

/*下拉菜单*/
.ant-dropdown{
    left: 221px!important;
}


.icon-box{
    font-size: 16px;
    color: #1890ff;
    cursor: pointer;
}

/**
 * 以下是覆盖ant内置样式
 * 目前没有采用自定义全局颜色，如果后期要改变全局颜色，只需改变以下颜色表即可
 */
/*修改抽屉*/
.ant-drawer-header {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 100%;
    top: 0;
    height: 55px;
    z-index: 1;
}

.drawer-content-box {
    height: calc(100vh - 105px);
    top: 55px;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 20px;
    overflow-y: auto;
}

.ant-drawer-body {
    padding: 0;
}

.drawer-footer-box {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 100%;
    border-top: 1px solid rgb(233, 233, 233);
    background: rgb(255, 255, 255);
    text-align: right;
    z-index: 1;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
}
